<%@ page language="java" contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="/tld/extremecomponents" prefix="ec" %>
<%@ include file="../../common/common.jsp" %>	
<%@ include file="master_pass.jsp" %>
<% 	
masterLogin.hasPermission(6003);
//权限判断代码结束
IMasterGradeService masterGradeService = (IMasterGradeService)BeanManager.getBean("masterGradeService");
masterGradeService.AutoBindingTable(request);
%>


<html>
<head>
<title><%=SYSTITLE%> - 社区管理员等级权限管理</title>
<%@ include file="../../common/meta.inc" %>
<link href="css.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/extremetable/extremecomponents.css"/>
<script language="javascript">
function permissionInfo(id)
{
	location.href = "master_grade_permission_info.jsp?mgId="+id+"&queryFlag=0";
}
</script>
</head>
<body leftMargin=5 topMargin=10 rightmargin="0" bottommargin="0" >
<table width="99%" border="0" align="center" cellpadding="2" cellspacing="2" bgcolor="#e6e6e6">
  <tr>
    <td align="center"><strong>配置社区管理员等级权限</strong></td>
  </tr>
</table>
	<ec:table 
		items="resultList"
		var="rs"	
		retrieveRowsCallback="limit"
        sortRowsCallback="limit"			
		action="${pageContext.request.contextPath}/club/admin/master_grade.jsp"		
		title="社区管理员等级权限"
		>	
		<ec:row>
				<ec:column property="MG_ID" title="序号" >
					<input type="checkbox" name="mgId" value="${rs.MG_ID}">${rs.MG_ID}
				</ec:column>
				<ec:column property="GRADE_NAME" title="等级名称" />
				<ec:column property="REMARK" title="备注" width="30%" />
				<ec:column property="1" title="操作" width="25%">
					<input type="button" name="btnInfo" value="修改权限" onclick="javascript:permissionInfo(${rs.MG_ID})">
				</ec:column>
		</ec:row>
	</ec:table>
			<table border="0" width="100%">
				<tr valign="top">
					<td align="right">
					<button class="btn" accessKey=r id="btnRefresh" name="btnRefresh" title="刷新当前页面" onclick="javascript:location.reload();this.disabled=true;">刷新(<u>R</u>)</button>
					&nbsp;&nbsp;&nbsp;<td>
				</tr>
			</table>	
</body>
</html>
